<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class EchoModel</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class EchoModel</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class convert response into HTML code</p>
	<ul class="tags">
				<li><span class="field">author:</span> Zoltan Koppanyi &lt;<a href="mailto:zoltan.koppanyi@gmail.com">zoltan.koppanyi@gmail.com</a>&gt;</li>
				<li><span class="field">version:</span> 0.1</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_model_echo.php.html">/model_echo.php</a> (line <span class="field">12</span>)
		</p>
		
				
		<pre><a href="../formapi/Model.html">Model</a>
   |
   --EchoModel</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																				
												<div class="method-definition">
											<span class="method-result">EchoModel</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#access" title="details" class="method-name">access</a>
											(<span class="var-type"><string,</span>&nbsp;<span class="var-name">$values</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#insert" title="details" class="method-name">insert</a>
											(<span class="var-type"><string,</span>&nbsp;<span class="var-name">$values</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#update" title="details" class="method-name">update</a>
											(<span class="var-type"><string,</span>&nbsp;<span class="var-name">$values</span>)
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">17</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Default constructor</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">EchoModel</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodaccess" id="access"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">access</span> (line <span class="line-number">55</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">No access logic, but override this function can be used as Mock object.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			access
		</span>
					(<span class="var-type"><string,</span>&nbsp;<span class="var-name">$values</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><string,</span>
				<span class="var-name">$values</span><span class="var-description">: string&gt; $value</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../formapi/Model.html#methodaccess">Model::access()</a></dt>
						<dd>Implements the data access</dd>
					</dl>
			
	</div>
<a name="methodinsert" id="insert"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">insert</span> (line <span class="line-number">28</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create HTML representation of the data</p>
	<ul class="tags">
				<li><span class="field">return:</span> HTML representation of the data</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			insert
		</span>
					(<span class="var-type"><string,</span>&nbsp;<span class="var-name">$values</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><string,</span>
				<span class="var-name">$values</span><span class="var-description">: string&gt; $value validated key-value pair, key contains the fields names</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../formapi/Model.html#methodinsert">Model::insert()</a></dt>
						<dd>Process and store data</dd>
					</dl>
			
	</div>
<a name="methodupdate" id="update"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">update</span> (line <span class="line-number">44</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create HTML representation of the data</p>
	<ul class="tags">
				<li><span class="field">return:</span> HTML representation of the data</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			update
		</span>
					(<span class="var-type"><string,</span>&nbsp;<span class="var-name">$values</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><string,</span>
				<span class="var-name">$values</span><span class="var-description">: string&gt; $value validated key-value pair, key contains the fields names</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../formapi/Model.html#methodupdate">Model::update()</a></dt>
						<dd>Process and update data</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../formapi/Model.html">Model</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../formapi/Model.html#methodaccess">Model::access()</a></span><br>
													<span class="method-name"><a href="../formapi/Model.html#methodinsert">Model::insert()</a></span><br>
													<span class="method-name"><a href="../formapi/Model.html#methodupdate">Model::update()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Sat, 01 Dec 2012 15:38:02 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>